<!--
- @founder   IT柏拉图, https: //weibo.com/itprato
- @author    DedeCMS团队
- @copyright Copyright (c) 2007 - 2021, 上海卓卓网络科技有限公司 (DesDev, Inc.)
--->

<html>
<head>
<meta charset="{dede:global.cfg_soft_lang/}" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>栏目管理</title>
<meta name="copyright" content="2007-2021 DedeCMS, 上海卓卓网络科技有限公司 (DesDev, Inc.)" />
<link rel="icon" href="/favicon.ico" />
<!-- CSS FILES -->
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/pkg/uikit/css/uikit.min.css" />
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/css/manage.dede.css">
</head>
<body>
<div id="Table_Header_202X2W2X1X292F" class="uk-card uk-card-small uk-card-default" uk-sticky="bottom: #offset">
<div id="Header_1W2T2S2T1V252B" class="uk-card-header">
<div class="uk-grid uk-grid-small uk-text-small">
<span><ul class="uk-breadcrumb"><li><span>栏目管理</span></li></ul></span>
</div>
<ul class="uk-navbar-nav dede-card-navbar" uk-navbar >
<li style="margin-right: 12px;"><a href="catalog_add.php?listtype=all" class="uk-button uk-button-default uk-button-small uk-flex-inline ">添加顶级栏目</a></li>
</ul>
</div>
<table id="dede-table-toolbar" class="uk-table uk-table-middle uk-table-divider uk-table-striped uk-margin-remove">
<thead>
<tr>
<td width="6%">ID</td>
<td width="4%"></td>
<td width="4%">排序</td>
<td width="4%"></td>
<td width="28%">栏目名</td>
<td width="10%">文档数量</td>
<td width="38%" align='right'>操作</td>
</tr>
</thead>
</table>
</div>
<div id="Table_Body_1X2V2U2V1W272D" class="uk-card uk-card-small uk-card-default" style="top: -51;">
<div class="uk-card-body uk-overflow-auto" grid>
<div class="uk-child-width-1-1">
<div class="uk-overflow-auto">
<table class="uk-table uk-table-middle uk-table-divider uk-margin-remove">
<thead>
<tr>
<td width="6%">ID</td>
<td width="4%"></td>
<td width="4%">排序</td>
<td width="4%"></td>
<td width="28%">栏目名</td>
<td width="10%">文档数量</td>
<td width="38%" align='right'>操作</td>
</tr>
</thead>
<form name='form1' method='post' action='catalog_do.php?dopost=upRankAll'>
<tbody>
<?php
if (empty($opendir)) { $opendir = -1; }
if ($userChannel > 0) { $opendir = $userChannel; }
$tu = new TypeUnit();
$tu->ListAllType($userChannel, $opendir);
?>
</tbody>
<!-- 批量操作 -->
<thead>
<tr>
<td></td>
<td><input type="checkbox" id="select-all" class="uk-checkbox" /></td>
<td height="36" colspan="8">
<button type="submit" class="uk-button uk-button-default uk-button-small" />更新排序</button>
</td>
</tr>
</thead>
<!-- /批量操作 -->
</form>
</table>
</div>
</div>
</div>
</div>
<div class="bar-bottom uk-flex uk-light uk-flex-right">
<div class="uk-button-group" style="margin-left: 50px;">
<ul class="uk-subnav uk-flex uk-flex-center uk-child-width-1-8" data-uk-grid>
<li><a href="catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives"
class="uk-icon-link" data-uk-icon="icon: vector-pen" title="添加文档" data-uk-tooltip></a></li>
{dede:if $adminid==$mid }
<li><a href="content_list.php?cid={dede:global.cid/}&mid=0"
class="uk-icon-link" data-uk-icon="icon: card-list" title="全部文档" data-uk-tooltip></a></li>
{else}
<li><a href="content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID();?>"
class="uk-icon-link" data-uk-icon="icon: person" title="我的文档" data-uk-tooltip></a></li>
{/dede:if}
{dede:global.CheckUserSend/}
<li>
<a href="#" >
<span data-uk-icon="icon: diagram-3" class="uk-margin-small-right uk-icon uk-icon-link"></span>
<span id="bottom_tooltip_prompt" data-uk-icon="icon: triangle-up;ratio:0.7"></span>
</a>
<div id="bottom_tooltip_dropdown" class="uk-navbar-dropdown uk-light " uk-dropdown="pos: top-right;mode: click;offset: 17">
<ul class="uk-nav uk-navbar-dropdown-nav uk-light uk-nav-sub">
<li><a href='catalog_main.php'>网站栏目管理</a></li>
<li><a href='catalog_add.php?listtype=all'>增加顶级栏目</a></li>
<li><a href='catalog_add.php?dopost=quick'>批量增加栏目</a></li>
<li><a href="makehtml_list.php?cid={dede:global.cid/}">更新栏目列表</a></li>
<li><a href="catalog_do.php?dopost=upcatcache">更新栏目缓存</a></li>
<li><a href="makehtml_js.php">获取栏目JS</a></li>
</ul>
</div>
</li>
<li><a href="makehtml_archives.php?cid={dede:global.cid/}"
class="uk-icon-link" data-uk-icon="icon: file-earmark-break" title="更新文档" data-uk-tooltip></a></li>
<li><a href="recycling.php?cid={dede:global.cid/}"
class="uk-icon-link" data-uk-icon="icon: trash" title="回收站" data-uk-tooltip></a></li>
</ul>
</div>
<div class="e1e02">Copyright &copy; 2007-2021 <a href='http://www.dedecms.com' target='_blank'><u>DedeCMS</u></a>, 上海卓卓网络科技有限公司 (DesDev, Inc.)</div>
</div>
<!-- JS FILES -->
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit-icons.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/jquery/jquery.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/js/dede.manage.min.js"></script>
</body>
</html>
